package com.njtoyo.taxi.admin.rest.wrapper.business.ride;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel("扫码订单模型")
public class ScanRideWrapper extends Page<ScanRideWrapper> {
    public ScanRideWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "扫码订单ID")
    private Long[] ids;

    @ApiModelProperty("行政区ID")
    private Long cantonId;

    private List<Long> cantonIds;

    @ApiModelProperty("公司ID")
    private Long companyId;

    private List<Long> companyIds;

    @ApiModelProperty(value = "乘客姓名或者乘客手机号")
    private String customer;

    @ApiModelProperty(value = "司机姓名或者司机手机号")
    private String driver;

    @ApiModelProperty(value = "是否完成行程订单")
    private Boolean isFinished;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "乘客ID")
    private Long customerId;

    private String plateNumber;

}
